<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        *{padding: 0;margin:0;}
        body{padding: 0;margin:0;}
    </style>
</head>
<body>
<!--<script src="js/jquery-3.1.1.min.js"></script>-->
<script src="ts/Tools.js"></script>
<script src="ts/Scene.js"></script>
<script src="ts/Firework.js"></script>
<script>
//    console.log(Lighting);
    /**
     * 创建显示场景(创建画布)
     * @type {Lighting.Scene}
     */
        var scene  = new Lighting.Scene().createScene("renderCanvas",800,600);
        var canvasElement = scene.getScene("renderCanvas");
//        var firework = new Lighting.Firework(canvasElement);
//    console.log(firework.getInstance(firework))
    scene.addClickListener(canvasElement);
//    firework.start();
//    scene.resizeSizeTo("renderCanvas",300,150);
</script>
</body>
</html>